From 3f6bd71aaac4277d046485fe8ea2a791ea089cd8 Mon Sep 17 00:00:00 2001
From: Wolfgang Müller
Date: Tue, 18 Feb 2025 15:51:14 +0100
Subject: frontend: Migrate PageView to Svelte 5

---
 frontend/src/routes/archives/[id]/+page.svelte | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'frontend/src/routes/archives/[id]/+page.svelte')

diff --git a/frontend/src/routes/archives/[id]/+page.svelte b/frontend/src/routes/archives/[id]/+page.svelte
index 56c3273..9eedcb2 100644
--- a/frontend/src/routes/archives/[id]/+page.svelte
+++ b/frontend/src/routes/archives/[id]/+page.svelte
@@ -2,6 +2,7 @@
 	import { updateArchives } from '$gql/Mutations';
 	import { archiveQuery } from '$gql/Queries';
 	import { Direction, Layout, type FullArchiveFragment, type PageFragment } from '$gql/graphql';
+	import { initReaderContext } from '$lib/Reader.svelte';
 	import { toastFinally } from '$lib/Toasts';
 	import Guard from '$lib/components/Guard.svelte';
 	import Head from '$lib/components/Head.svelte';
@@ -9,7 +10,7 @@
 	import Grid from '$lib/containers/Grid.svelte';
 	import Gallery from '$lib/gallery/Gallery.svelte';
 	import PageView from '$lib/reader/PageView.svelte';
-	import Reader, { initReaderContext } from '$lib/reader/Reader.svelte';
+	import Reader from '$lib/reader/Reader.svelte';
 	import { initSelectionContext } from '$lib/selection/Selection.svelte';
 	import ArchiveDelete from '$lib/tabs/ArchiveDelete.svelte';
 	import ArchiveDetails from '$lib/tabs/ArchiveDetails.svelte';
-- 
cgit v1.2.3-2-gb3c3

